<?php
require_once 'Service/Condition.php';

/**
 * Description of Not
 *
 * @author baziak
 */
class Service_Condition_ZendDb_Not extends Service_Condition
{
    protected $_condition = null;

    public function __construct($condition)
    {
        $this->_condition = $condition;
    }

    public function __toString()
    {
        $this->_condition->setAdapter($this->_ds);
        return "NOT ({$this->_condition})";
    }
}

